<?php
namespace app\api\controller;
use think\Controller;
use think\api\Client;

Class QRCode extends controller
{

	public function send(){
		$client = new Client("7d2831fedf9765f28cd26ea6c30ecce4");
		$result = $client->qrcodeIndex()
		->withText('敏敏,我错了,爱你哟')
		->withBgcolor('ffffff')
		->withFgcolor('000000')
		->withLogo('http://120.79.16.193/public/static/index/img/1314.jpg')
		->withW(200)
		->withM(200)
		->withLw(60)
		->withType(1)
		->request();
		dump($result);
	}


}